.PHONY:all
all:tcpclient tcpserver

tcpclient:client.cc
	g++ -o $@ $^ -std=c++11 
tcpserver:server.cc
	g++ -o $@ $^ -std=c++11 -lpthread 

.PHONY:clean
clean:
	rm -f tcpclient tcpserver